Managing Your VoiceFlow
The VoiceFlow Management page allows users to visualize, configure, and manage their voice interaction workflows using a Flow Diagram. This interactive diagram showcases how each action, trigger, and response is connected, giving users a clear understanding of how their workflow operates and offering tools to adjust and expand the flow.
Key Features of VoiceFlow Management
VoiceFlow's management interface offers a variety of actions, categorized into different tabs like Common, Variables, Control, Database, and Integration. These actions allow users to design highly customizable and dynamic workflows.
1. Action Categories Overview
In VoiceFlow, actions are categorized for easy navigation. Let’s go over the most important ones:
Common Actions
- HTTP: Allows the flow to be triggered via HTTP requests, great for API-based workflows.
- SQL Query: Connect to an SQL server, perform stored procedures, or run queries.
- Visual Query: Simplifies query creation and retrieval for non-technical users.
- Web Services: Allows data exchange between applications using SOAP protocols.
- E-mail: Enables communication using email APIs.
Variable Management
- Create Variable: Create variables and define their data types and initial values.
- Set Variable: Update the value of an existing variable.
- Increment/Decrement: Modify variable values by constants dynamically within the flow.
Control Flow
- If Condition: Execute actions based on whether a condition is true or false.
- For Each/For Loop: Perform repetitive actions for each item in an array.
- Switch: Create a flow that branches into different paths based on unique values.
- Try-Catch: Handle potential errors in your flow.
Database Management
- Create Record: Add new entries into a database.
- Get Record: Retrieve specific information from a database.
- Update/Delete Record: Modify or remove records within a database.
Integration
Currently, integration actions might not be available, but when available, they allow connecting the flow with external systems like APIs for enhanced functionality.
Flow Visualization: Designing with Nodes
Once your actions and triggers are defined, they are visually represented in a Flow Diagram. This provides a high-level overview of the entire VoiceFlow, allowing you to easily manage, edit, and expand the flow.
When using control flow actions like Switch or If Condition, ensure each branch is correctly connected to the subsequent actions for a seamless user experience.
Flow Representation:
Here’s how typical node actions might appear:
- HTTP Node: Initiates the flow when a specific HTTP request is received.
- Voice Generation Node: Converts text into natural-sounding speech.
- Web Services Node: Integrates external services for seamless communication.
This diagrammatic approach gives users the flexibility to edit, add, or delete actions easily using intuitive buttons next to each node.
Managing the Flow
- Editing Actions: Click the edit icon on a node to change the parameters of a specific action or trigger.
- Adding Actions: The “+” icon between nodes allows you to insert new actions, expanding the flow dynamically.
- Deleting Actions: If you need to remove an action, simply click the delete icon next to the node.
Flow Variables:
Flow variables are shown on the right panel, allowing users to keep track of request/response data. This ensures all variables—like query parameters, path parameters, headers, and response bodies—are visible and manageable throughout the flow.
Managing and Finalizing Your Flow
The final flow structure provides a complete, interconnected view of all actions and triggers in the VoiceFlow. This visual editor allows users to:
- Expand their flows as needed.
- Manage flow logic using control actions like
If Condition
, loops, and switches. - Track variables and ensure data is passed correctly between nodes.
Final Tips:
- Edit easily: Make sure to use the edit buttons on each node to fine-tune actions.
- Expand dynamically: Add as many actions as needed to cover your conversational goals.
- Test your flow: Always click Test Spark to run through the flow and identify any logical or data flow issues.
With the interactive diagram and node-based design, managing your VoiceFlow is a breeze, giving you full control over building dynamic and engaging voice-driven workflows.
Remember to test your flow frequently to ensure that all interactions are working smoothly.